package com.song.tools.log.operatelog.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 模块枚举
 *
 * @author song tools
 * @since 2024-07-03
 */
@AllArgsConstructor
@Getter
public enum ModuleEnum {
    DEFAULT(-1, "默认值"),

    SYSTEM(0, "系统"),
    LOG(1, "日志"),
    OPERATE(2, "操作日志"),
    DICTIONARY(3, "字典"),
    USER(4, "用户"),
    ROLE(5, "角色"),
    MENU(6, "菜单"),
    DEPT(7, "部门"),
    ;

    private final int code;

    private final String desc;
}
